
/**

team 任务执行器
 *
*/

import { State } from "framework/FSM/AState";

export class TeamTaskExecute<T extends IStateArg<Room >> extends State<T>
{

    public getActions(arg:T):Action[]
    {
        
        const nodememory = arg.entity.getNodeMemory();
        
        const tasks = arg.entity.getTaskByType("team"); // 房间的team分类里的任务
        if(!tasks)
        {
            return []
        }
        const actions:IActionCMD[]=[];
     
        return actions
    }


    private onDefend(arg:T):Action[]
    {
        // 执行防御
        

        return []
    }
}
